home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1997 / HAM Radio 1997.iso / vcls / nimgvc10.000 / stdafx.h < prev    next >
C/C++ Source or Header  |  1996-04-08  |  1KB  |  37 lines

  1. // stdafx.h : include file for standard system include files,
  2. //  or project specific include files that are used frequently, but
  3. //      are changed infrequently
  4. //
  5.  
  6. #define VC_EXTRALEAN        // Exclude rarely-used stuff from Windows headers
  7.  
  8. #include <afxwin.h>         // MFC core and standard components
  9. #include <afxext.h>         // MFC extensions
  10. #include <afxdisp.h>        // MFC OLE automation classes
  11. #ifndef _AFX_NO_AFXCMN_SUPPORT
  12. #include <afxcmn.h>            // MFC support for Windows 95 Common Controls
  13. #endif // _AFX_NO_AFXCMN_SUPPORT
  14.  
  15. //The way our image fits in it's window
  16. enum FITTYPE
  17. {
  18.     BESTFIT,
  19.     HORZFIT,
  20.     VERTFIT,
  21.     ONETOONE
  22. };
  23.  
  24. //Error codes returned from CNEDImage::GetLastError()
  25. //Use these error codes to report the status of the image
  26. //control
  27. #define NED_32IMAGE_E_NOERROR            0    
  28. #define    NED_32IMAGE_E_OUTOFMEMORY        1    
  29. #define NED_32IMAGE_E_NOIMAGE            2    
  30. #define NED_32IMAGE_E_BADIMAGE            3
  31. #define NED_32IMAGE_E_BADIMAGETYPE        4    
  32. #define NED_32IMAGE_E_REDUCTIONFAILED    5    
  33. #define NED_32IMAGE_E_FILENOTFOUND        6    
  34. #define NED_32IMAGE_E_OUTOFVAS            7    
  35. #define NED_32IMAGE_E_FILEMAPPING        8    
  36.  
  37.